How to Fix unknownAtRules Warnings From Tailwind CSS
Installing Tailwind CSS IntelliSense Plugin
To fix “Unknown at rule @tailwind” warning, start by installing Tailwind CSS IntelliSense plugin.
When that is done, you need to associate your CSS file with Tailwind CSS.
- Open the CSS file where you import Tailwind CSS
- Press Shift + P and search for “change language mode”
- Inside the search bar, type “tailwindcss” and select it.
Now your CSS file is associated with Tailwind CSS and the warnings should be gone.